﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class bullet_plus : Skill
{
    public void Awake()
    {
        once = false;
    }

    // Start is called before the first frame update
    public override void Active(GameObject go)
    {

        if (go.tag == "Player")
        {
            go.transform.GetComponent<Player>().shotCount++;
          
        }
        else if (go.tag == "Enemy")
        {
            go.transform.GetComponent<Enemy>().shotCount++;
         
        }
    }
}
